import request from '@/utils/request'

// 查询混凝土凝结时间试验检测记录详情列表
export function listSnhntNjsjBaDetail(query) {
  return request({
    url: '/reportsnhnt/snhntNjsjBaDetail/list',
    method: 'get',
    params: query
  })
}

// 查询混凝土凝结时间试验检测记录详情详细
export function getSnhntNjsjBaDetail(id) {
  return request({
    url: '/reportsnhnt/snhntNjsjBaDetail/' + id,
    method: 'get'
  })
}

// 新增混凝土凝结时间试验检测记录详情
export function addSnhntNjsjBaDetail(data) {
  return request({
    url: '/reportsnhnt/snhntNjsjBaDetail',
    method: 'post',
    data: data
  })
}

// 修改混凝土凝结时间试验检测记录详情
export function updateSnhntNjsjBaDetail(data) {
  return request({
    url: '/reportsnhnt/snhntNjsjBaDetail',
    method: 'put',
    data: data
  })
}

// 删除混凝土凝结时间试验检测记录详情
export function delSnhntNjsjBaDetail(id) {
  return request({
    url: '/reportsnhnt/snhntNjsjBaDetail/' + id,
    method: 'delete'
  })
}
